﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections;

namespace Blade.Utilities {
	public static class Dictionary {
		public static bool TryGetValue(this IDictionary dict, object key, out object value) {
			if (dict.Contains(key)) {
				value = dict[key];
				return true;
			} else {
				value = null;
				return false;
			}
		}
	}
}
